

//
//  ZYThreeGoodYoungPeopleModel.m
//  优学荟管理系统
//
//  Created by edz on 2017/12/12.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "ZYThreeGoodYoungPeopleModel.h"

@implementation ZYThreeGoodYoungPeopleModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"elementCount"]) {
        
        for (NSDictionary *dict in value) {
            
            ZYThreeGoodYoungPeopleSubModel *model = [ZYThreeGoodYoungPeopleSubModel new];
            [model setValuesForKeysWithDictionary:dict];
            
            [self.elementCount addObject:model];
            
            
        }
    }
    
    
    if ([key isEqualToString:@"teachers"]) {
        
        
        for (NSDictionary *dict in value) {
            
            ZYThreeGoodYoungPeopleTwoSubModel *model = [ZYThreeGoodYoungPeopleTwoSubModel new];
            
            [model setValuesForKeysWithDictionary:dict];
            
            
            [self.teachers addObject:model];
            
        }
        

        
    }
    
    
    
    
    
}


- (NSMutableArray *)elementCount{
    
    if (_elementCount == nil) {
        self.elementCount = [NSMutableArray array];
    }
    
    
    return _elementCount;
    
    
    
    
    
}

- (NSMutableArray *)teachers{
    
    if (_teachers == nil) {
        self.teachers = [NSMutableArray array];
    }
    return _teachers;

}






@end




@implementation ZYThreeGoodYoungPeopleSubModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}



@end



@implementation ZYThreeGoodYoungPeopleTwoSubModel


- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}



@end


